<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title></title>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
       <!--preload-links-->
  </head>
  <body>
    <div id="app"><!--ssr-outlet--></div>
    <script type="module" src="/src/entry-client.ts"></script>
    <script>
        window.__INITIAL_STATE__ = '<!--vuex-state-->'//在server.js中，已经将该占位符替换成来自于服务端的store实例
        //故此时window.__INITIAL_STATE__ = 来自于服务端的store实例
        //故在客户端入口文件中if(window.__INITIAL_STATE__){
        // store.replaceState(window.__INITIAL_STATE__)
        // }     通过window.__INITIAL_STATE__就可以获取到来自于服务端的预取数据 store中存放了数据 有state、mutations、action那些
    </script>

  </body>
</html>
